import { createRoot } from "react-dom/client";
import App from "./App";

// 引入公共的sass样式文件
import "./assets/styles/index.scss";
// 引入 store
import store from "./store";
// 引入 连接App组件和store 组件
import { Provider } from "react-redux";

// 渲染组件
const root = createRoot(document.getElementById("root") as Element);
root.render(
  <Provider store={store}>
    <App />
  </Provider>
);
